package com.suzhe.ymall.order.client;

import com.suzhe.ymall.common.pojo.ApiResEntity;
import com.suzhe.ymall.promotion.param.LockCouponParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@Slf4j
public class PromotionClientFallBack  implements PromotionClient{

    @Override
    public ApiResEntity lockUserCoupon(@RequestBody LockCouponParam lockCouponParam) {
        return ApiResEntity.error();
    }
}
